package HTTPSendIntegrator;

public class SendConf extends HTTPMmsMessage {
	
	public String sendconfMessage;
	
	public SendConf(){
		sendconfMessage = "";
		this.mmsMessageType = MMS_MESSAGE_TYPE_SEND_CONF;
	}

	public String toString(){

		if(!isMessageTypeSet()) return "MessageType not defined";
		if(!isTransactionIDSet()) return "transactionID not defined";
		if(!isVersionSet()) return "Version not defined";
		if(!isResponseStatusSet()) return "ResponseStatus not defined";
		if(!isMessageIDSet()) return "MessageID not defined";
		
		sendconfMessage += MMS_MESSAGE_TYPE + " " + getMessageType() + NL;
		sendconfMessage += MMS_TRANSACTION_ID + " " + getTransactionID() + NL;
		sendconfMessage += MMS_VERSION + " : " + getVersion() + NL;
		sendconfMessage += MMS_RESPONSE_STATUS + " " + getResponseStatus() + NL;
		sendconfMessage += MMS_MESSAGE_ID + " " + getMessageID() + NL;
	
		return sendconfMessage;
	}
}